package cn.fintecher.pangolin.service.manage.request;

import cn.fintecher.pangolin.common.enums.BaseStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Auther: xiaqun
 * @Description: 新增角色请求
 * @Date: 10:10 2019/8/14
 */

@Data
public class AddRoleRequest {
    @ApiModelProperty(value = "角色名称")
    @NotNull(message = "role.name.is.required")
    private String name;

    @ApiModelProperty(value = "角色描述")
    private String description;

    @ApiModelProperty(value = "状态")
    @NotNull(message = "role.status.is.required")
    private BaseStatus status;
}
